<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>选择</title>
    <script src="jquery.js"></script>
    <script src="layui/layui.js"></script>
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="css/classify.css">
    <style>
        td{
            padding: 35px;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-xs2 layui-col-xs-offset10 close1">
            <span>关闭</span>
        </div>
        <div class="layui-col-xs12">
            <div style="border: 1px solid black;border-radius: 10px">
                <table>
                    <ul>
                        <li>运动</li>
                        <li>男士</li>
                        <li>女士</li>
                    </ul>
                    <ul>
                        <li>4</li>
                        <li>5</li>
                        <li>6</li>
                    </ul>
                    <ul>
                        <li>7</li>
                        <li>8</li>
                        <li>9</li>
                    </ul>
                </table>
            </div>

        </div>
    </div>
</div>
<script>
    $("#parentIndustry").click(function(){
        $.ajax({
            url:"${ctx }/buser/web/allParentIndustry",
            type:"post",
            datatype:"json",
            success:function(data){
                var dataObj = eval("("+data+")");
                if(dataObj.successFlag==true){
                    var result = dataObj.result.resultList;
                    for(var i = 0; i<result.length; i++){
                        var industry = result[i];
                        $("#parentIndustryUL").append(" <li value="+industry.xyIndustryId+">"+industry.industryName+"</li>");
                    }
                }
            }
        });
    });
</script>
</body>
</html>